package com.lxy.mychat.Bean;

import com.lxy.mychat.R;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

public class User extends LitePalSupport {
    int id;
    @Column(unique = true, defaultValue = "unknown")
    String name;
    String password;
    int userimg;


    public User() {
    }

    public User(int id, String name, String password, int userimg) {
        this.id = id;
        this.name = name;
        this.password = password;
        this.userimg = userimg;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public int getUserimg() {
        return userimg;
    }

    public void setUserimg(int userimg) {
        this.userimg = userimg;
    }
}
